package com.yeyks.mattress.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 酒店床垫账单明细表
 * </p>
 *
 * @author yun
 * @since 2019-07-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="HotelMattressBill对象", description="酒店床垫账单明细表")
public class HotelMattressBill implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "酒店ID")
    @TableField("hotel_id")
    private Integer hotelId;

    @ApiModelProperty(value = "账户id")
    @TableField("account_id")
    private Integer accountId;

    @ApiModelProperty(value = "账户类型")
    @TableField("account_type")
    private Integer accountType;

    @ApiModelProperty(value = "操作金额")
    @TableField("operator_amount")
    private Integer operatorAmount;

    @ApiModelProperty(value = "单笔订单分成")
    @TableField("fee_amount")
    private Integer feeAmount;

    @ApiModelProperty(value = "业务订单号：完成订单号、提现订单号")
    @TableField("biz_no")
    private String bizNo;

    @ApiModelProperty(value = "备注(进账：完成的订单，提现申请驳回。出账：提现成功)")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "账单类型：1 进账，2 出账")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "创建日期")
    @TableField("create_time")
    private Date createTime;


    public static final String ID = "id";

    public static final String HOTEL_ID = "hotel_id";

    public static final String ACCOUNT_ID = "account_id";

    public static final String ACCOUNT_TYPE = "account_type";

    public static final String OPERATOR_AMOUNT = "operator_amount";

    public static final String FEE_AMOUNT = "fee_amount";

    public static final String BIZ_NO = "biz_no";

    public static final String REMARK = "remark";

    public static final String TYPE = "type";

    public static final String CREATE_TIME = "create_time";

}
